package com.navi.loaddata.core.gpEntity.base;

import com.navi.loaddata.core.gpEntity.MParamD;
import com.navi.loaddata.core.oracleEntity.base.EtlParamV;
import org.mapstruct.Mapper;
import org.mapstruct.ReportingPolicy;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * Created by Jay on 2018/3/27.
 */
@Mapper(unmappedTargetPolicy = ReportingPolicy.IGNORE)
public interface MParamDMapper {

    MParamDMapper INSTANCE = Mappers.getMapper(MParamDMapper.class);

    EtlParamV mParamToEtl(MParamD mParamD);

    List<EtlParamV> mParamToEtl(List<MParamD> list);

}
